/**
 * Copyright (c) 2003-2017 Ben Lau
 * All rights reserved.
 */
package chapter7;

/**
 * @author liubin
 *
 */
public class Code7_4 {

	interface Interface0{
		int A = 0;
	}
	
	interface Interface1 extends Interface0 {
		int A = 1;
	}
	
	interface Interface2{
		int A = 2;
	}
	
	static class Parent implements Interface1 {
		public static int A = 3;
	}
	
	static class Sub extends Parent implements Interface2 {
		public static int A = 4;
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println(Sub.A);
	}

}
